import turtle

x0,y0 = eval(input("请输入p0坐标："))
x1,y1 = eval(input("请输入p1坐标："))
x2,y2 = eval(input("请输入p2坐标："))

temp = (x1-x0)*(y2-y0)-(x2-x0)*(y1-y0)

turtle.hideturtle()

turtle.penup()
turtle.goto(x0,y0)
turtle.pendown();
turtle.write("p0("+str(x0)+","+str(y0)+")")

turtle.goto(x1,y1)
turtle.write("p1("+str(x1)+","+str(y1)+")")

turtle.penup()
turtle.goto(x2,y2)
turtle.pendown()

turtle.dot(3)

turtle.write("p2("+str(x1)+","+str(y1)+")"+"\np2在p0到p1的"+("线上" if temp==0 else "左边" if temp >0 else "右边"))


turtle.done()


print()